package com.zc.blog.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zc.blog.model.Tag;

import java.util.List;

/**
 * 用户Mapper接口
 */
public interface TagArticleMapper extends BaseMapper<Tag> {

    Tag findById(Integer id);

    List<Integer> findArticleIdByTagId(Integer tagId);

    List<Integer> findTagIdByArticleId(Integer article);
}
